| Visual Basic (Declaration) | |
|---|---|
Public Overloads Function TryDequeue( _ ByVal predicate As Predicate(Of KeyValuePair(Of TKey,TValue)), _ ByRef value As KeyValuePair(Of TKey,TValue) _ ) As Boolean | |
| C# | |
|---|---|
public bool TryDequeue( Predicate<KeyValuePair<TKey,TValue>> predicate, out KeyValuePair<TKey,TValue> value ) | |
Parameters
- predicate
- value
Return Value
False if no item was available| Exception | Description |
|---|---|
| System.InvalidOperationException | Raised if the table is unordered |
| System.ObjectDisposedException | The exception that is thrown when an operation is performed on a disposed object. |
| LurchTableCorruptionException | Exception class: LurchTableCorruptionException The LurchTable internal datastructure appears to be corrupted. |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7